<template>
	<base-icon
		class="base-paste text-t-3 text-xl app-text-react"
		name="paste"
		@click.stop="onPaste" />
</template>

<script lang="ts" setup>
import { paste } from '@/utils'
import BaseIcon from '@/components/base/icon/index.vue'

const emits = defineEmits(['paste'])

const onPaste = async () => {
	const text = await paste()
	emits('paste', text)
}
</script>
<style lang="scss" scoped></style>
